package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.SysUser;

import java.util.List;

public interface UserService {

	boolean login(String username,String password);

	SysUser findByUsername(String username);

	void add(SysUser sysuser,Integer[] roleIds);

	PageResult findPage(QueryPageBean queryPageBean);

	void delById(Integer id);

	SysUser findById(Integer id);

	List<Integer> findRoleIdsById(Integer id);

	void edit(SysUser sysUser,Integer[] roleIds);

    Result getUserMenuByUsername(String username);
}